package com.penghaisoft.microwms.product.service;

import com.penghaisoft.microwms.common.data.model.ProBarcode;
import com.penghaisoft.microwms.common.dto.ProBarcodeDto;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.dto.TransResult;
import com.penghaisoft.microwms.common.page.Pager;
import com.penghaisoft.microwms.common.wms.model.ProCheckIn;

import java.util.List;

/**
 * <p>
 * 业务接口类
 * </p>
 * 
 * @author
 * @createDate 
 **/
public interface IProBarcodeService{
	
	public Resp create(ProBarcode proBarcode);

	public Resp codeCreate(ProCheckIn proCheckIn);
	
	public Resp packScrap(ProCheckIn proCheckIn);

	public Resp splitScrap(ProCheckIn proCheckIn);

	public Resp delete(ProBarcode proBarcode);
	
	public Pager<ProBarcode> findListByCondition(int page, int rows,ProBarcode condition);
	
	public ProBarcode findById(String id);
	
	public List<ProBarcode> queryList(ProBarcode proBarcode);
	
	public Resp update(ProBarcode proBarcode);
	
	public TransResult downlineScanBarcode(ProBarcodeDto proBarcodeDto);
	
	public TransResult downlineDelBarcode(ProBarcodeDto proBarcodeDto);
	
	public TransResult returnsScan(ProBarcodeDto proBarcodeDto);

	public List<ProBarcode> queryPrintListTM(ProBarcode proBarcode);

	public List<ProBarcode> queryPrintListSn(List<ProBarcode> dataList);
}
